package com.web.exiaodao.business.entity;

import com.web.exiaodao.business.constant.JConstant;
import com.web.webstart.base.entity.BaseEntity;
import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 
* @ClassName: walletWithdrawRecord 
* @Description: 钱包-提现记录定义表
* @author eason
* @date 2017-02-06 11:44:38
*
 */
@Entity
@Table(name = "tb_xa_walletwithdrawrecord")
@ApiModel(value="钱包-提现记录定义表")
public class WalletWithdrawRecord extends BaseEntity{

	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="提现用户,用户id")
	private Long userId;
	@ApiModelProperty(value="提现金额,提现金额")
	private Double withdrawMoney;
    /**
     * @see JConstant.WalletWithdrawStatus
     */
	@ApiModelProperty(value="提现状态,0：提现申请中 1：提现完成")
	private Integer withdrawStatus;
	@ApiModelProperty(value = "提现支付宝账号,提现支付宝账号")
	private String aipayAccount;
    @ApiModelProperty(value = "提现支付宝收款账号姓名,提现支付宝收款账号姓名")
    private String alipayUsername;
	/**
     * @see com.web.exiaodao.remote.vo.WalletWithdrawRecordVo
     * 自己生成的21位
	 */
	@ApiModelProperty(value = "提现的交易号,提现的交易号")
	private String withdrawTradeNo;
    @ApiModelProperty(value = "提现完成/关闭的时间,提现完成/关闭的时间")
    private String withdrawSucessTime;
    @ApiModelProperty(value = "提现备注信息,提现（成功or失败）备注信息")
    private String remark;

	public void setUserId(Long userId){
		this.userId=userId;
	}
	
	@Column(nullable=true,length=50)
	public Long getUserId(){
		return userId;
	}
	public void setWithdrawMoney(Double withdrawMoney){
		this.withdrawMoney=withdrawMoney;
	}
	
	@Column(nullable=true,length=50)
	public Double getWithdrawMoney(){
		return withdrawMoney;
	}
	public void setWithdrawStatus(Integer withdrawStatus){
		this.withdrawStatus=withdrawStatus;
	}
	
	@Column(nullable=true,length=50)
	public Integer getWithdrawStatus(){
		return withdrawStatus;
	}

	@Column(nullable=true,length=50)
	public String getAipayAccount() {
		return aipayAccount;
	}

	public void setAipayAccount(String aipayAccount) {
		this.aipayAccount = aipayAccount;
	}

    @Column(nullable=true,length=50)
    public String getWithdrawTradeNo() {
        return withdrawTradeNo;
    }

    public void setWithdrawTradeNo(String withdrawTradeNo) {
        this.withdrawTradeNo = withdrawTradeNo;
    }

    @Column(nullable=true,length=50)
    public String getWithdrawSucessTime() {
        return withdrawSucessTime;
    }

    public void setWithdrawSucessTime(String withdrawSucessTime) {
        this.withdrawSucessTime = withdrawSucessTime;
    }

    @Column(nullable=true,length=50)
    public String getAlipayUsername() {
        return alipayUsername;
    }

    public void setAlipayUsername(String alipayUsername) {
        this.alipayUsername = alipayUsername;
    }

    @Column(nullable=true,length=500)
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
